Repository navigation
feat(host): a plugin ui slot's compose failure degrades that slot only (#1259 done-when 3) - #1263
Merged
Merged
Conversation
efizzybot
force-pushed
the
fix/ssr-plugin-slot-degrade
branch
from
December 2, 2026 22:02
cbd8464 to
7dd6873
Compare
efizzybot
force-pushed
the
fix/dev-slot-boot-recovery
branch
2 times, most recently
from
December 2, 2026 23:22
c50b8e6 to
90bac54
Compare
efizzybot
force-pushed
the
fix/ssr-plugin-slot-degrade
branch
from
December 2, 2026 23:23
7dd6873 to
edc33be
Compare
#1259 done-when 3) One local plugin ui source failing — manifest, SSR entry, container, or route config — failed the whole composition, and ssr-render turned any compose failure into a 500 on every route. The per-source isolation ADR 0024 §5 already gave remote plugin sources (warn-and-drop) now covers local plugin sources too: each plugin entry resolves, waits, and loads its route config per source, and a failure drops that plugin's routes with a loud warning while core and sibling plugins keep rendering. The core source failing stays loud (the #940 last-good floor is unchanged). The healthy plugin set is resolved before the compose session opens, so dropped sources never pin entries. ADR 0063 amendment scopes the loud-500 to the core.
The per-source resolution completes in scheduling order under unbounded concurrency; the resulting order fed the variant cache key, so identical content could produce different keys across composes. Sort by source key before the session opens — the healthy set, the digest, and the cache key are stable again.
efizzybot
force-pushed
the
fix/ssr-plugin-slot-degrade
branch
from
December 2, 2026 23:28
edc33be to
84fe7bf
Compare
This was referenced Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1262 (its base). Delivers #1259 done-when 3.
Summary
One local plugin ui source failing at any compose stage failed the WHOLE composition, and
ssr-renderturned any compose failure into a 500 on every route — including core routes with no plugin code. The per-source isolation of ADR 0024 §5 existed only for remote plugin sources; local sources were treated as authored-in-this-runtime configuration bugs and failed loud.pnpm run buildwipes the dev SSR container — passthrough + host-side last-good recovery #940 last-good floor is unchanged: a last-good generation still serves the whole plane while a container rebuilds.Evidence
host/tests/integration/ui-compose.test.ts— the two loud-for-local tests flip to drop semantics, plus new tests: local plugin with no usable manifest composes the core; local identity mismatch drops; local SSR container that never becomes ready drops; remote route-config failure drops. Recovery suite (ui-compose-recovery.test.ts) unchanged and green — core-only failure still fails loud, plugin failure with last-good still recovers the plane. 430/430 host suite; typecheck + lint green.Merge Danger
Door: two-way — revert restores fail-the-plane for local sources.
Blast Radius: an authored-in-runtime plugin ui breakage becomes a loud per-slot degrade instead of a whole-plane 500. Deliberate policy change for local sources (they now match remote sources); ADR 0063 amended to scope the loud-500 to the core. Host-private code — no changeset needed.